package com.jk.hly.login.service.impl;



import com.jk.hly.login.bean.HlyUser;
import com.jk.hly.login.mapper.HlyLoginMapper;
import com.jk.hly.login.service.HlyLoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HlyLoginServiceImpl implements HlyLoginService {

    @Resource
    private HlyLoginMapper loginMapper;

    @Override
    public HlyUser zhangHaoAndPasswordLogin(HlyUser user) {
        return loginMapper.zhangHaoAndPasswordLogin(user);
    }

    @Override
    public HlyUser zhangHaoIsBlackList(HlyUser user) {
        return loginMapper.zhangHaoIsBlackList(user);
    }

    @Override
    public HlyUser userPhoneLogin(String phone) {
        return loginMapper.userPhoneLogin(phone);
    }

    @Override
    public HlyUser userPhoneLoginBlack(String phone) {
        return loginMapper.userPhoneLoginBlack(phone);
    }
}
